Competing On Internet Time by Michael A. Cusumano & David B. Yoffie
Author:Michael A. Cusumano & David B. Yoffie
Language: eng
Format: epub
Tags: Business
Publisher: The Free Press
Published: 2008-08-23T00:00:00+00:00
Optimism and Disappointment with Java
Netscape engineers were highly flexible when it came to choosing programming languages for cross-platform design. In the early projects, for example, Netscape wrote all the cross-platform code in the C programming language. AT&T originally had designed this language to work on its UNIX platform, but C has since become a universal programming language. In addition, many of the basic APIs that the NCSA Mosaic and Netscape Navigator teams used for the early browsers came from the UNIX-C environment. Totic recalled, “Originally, all the cross-platform code was written in C. That was the law because C was the only truly portable language.” In the 3.0 and 4.0 client projects, Netscape developers relied heavily on C++ (an object-oriented version of C) as well as C. But they did nothing distinctive here: These are the same languages Microsoft used to write all the versions of Internet Explorer.
By early 1997, however, Netscape executives and engineers had become very enthusiastic about Java. As a computing language, Java was object-oriented (modular) and inherently cross-platform. If Netscape could write an entire product in Java, it would eliminate many of the productivity penalties that came from designing and testing cross-platform code. Sun Microsystems’s promise with Java was “write once, run everywhere.” This worked because, in most cases, developers do not write Java code to run on the APIs of a particular operating system. Rather, they write in a platform-neutral language called “byte code” and to a platformneutral layer called a “virtual machine” (VM). Internet browsers and some other Internet software include the VM program, which translates or interprets the byte code so that it can run on any operating system. It does not matter whether the machine is a Windows PC, a Macintosh, a UNIX workstation, or a network computer.
The problem with Java is that it has to go through this extra step of being translated or interpreted, so it usually loads and runs more slowly than code written directly for a particular operating system, such as Windows. But Java has other advantages that excited the Netscape engineers. One such advantage was that it helped minimize certain programming errors. Toy pointed out that developers can write good or bad code in any language. Java, however, made it hard for them to break certain useful rules, such as for object abstractions and memory management: “Thinking that a language makes you design better is stupid. You can write really good component software in C and really bad spaghetti code in Java. [But] Java gives you language abstractions that make it hard to break the rules if you decide that these are the rules that we’re going to have. It’s hard to reach through an interface and do bad things.” Rick Schell agreed, particularly with Java’s ability to help programmers manage their allocation of memory resources (an especially difficult problem in native Windows programming):
Shifting to Java is helpful because a lot of the problems that you encounter in software have to do with very simple, stupid stuff.
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Life 3.0: Being Human in the Age of Artificial Intelligence by Tegmark Max(5159)
The Sports Rules Book by Human Kinetics(4056)
The Age of Surveillance Capitalism by Shoshana Zuboff(3964)
ACT Math For Dummies by Zegarelli Mark(3837)
Blood, Sweat, and Pixels by Jason Schreier(3471)
Unlabel: Selling You Without Selling Out by Marc Ecko(3455)
Hidden Persuasion: 33 psychological influence techniques in advertising by Marc Andrews & Matthijs van Leeuwen & Rick van Baaren(3273)
Urban Outlaw by Magnus Walker(3227)
The Pixar Touch by David A. Price(3189)
Bad Pharma by Ben Goldacre(3073)
Project Animal Farm: An Accidental Journey into the Secret World of Farming and the Truth About Our Food by Sonia Faruqi(2993)
Brotopia by Emily Chang(2876)
Kitchen confidential by Anthony Bourdain(2787)
Slugfest by Reed Tucker(2779)
The Content Trap by Bharat Anand(2759)
The Airbnb Story by Leigh Gallagher(2671)
Coffee for One by KJ Fallon(2406)
Smuggler's Cove: Exotic Cocktails, Rum, and the Cult of Tiki by Martin Cate & Rebecca Cate(2327)
Beer is proof God loves us by Charles W. Bamforth(2238)
